package com.zto.sch.base.event.two;

import java.util.EventObject;

/**
 * @program: sch-diy-parent
 * @description:
 * @author: sch
 * @create: 2020-11-28 18:10
 **/
public class CusEvent extends EventObject {
    private static final long serialVersionUID = 1L;
    private Object source;//事件源

    public CusEvent(Object source) {
        super(source);
        this.source = source;
    }

    @Override
    public Object getSource() {
        return super.getSource();
    }

    public void setSource(Object source) {
        this.source = source;
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
